package com.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
@Data
@ApiModel(value = "回收员充值")
@TableName(value = "cms_wx_pay_notice")
@Table(name = "cms_wx_pay_notice", comment = "回收员充值")
public class CmsWxPayNotice implements Serializable {
    /**
     * 通知ID
     */
    @TableId
    @ApiModelProperty(value = "通知ID")
    @Column(type= MySqlTypeConstant.BIGINT, comment = "通知ID", length = 11, isKey = true, isAutoIncrement = true,isNull = false)
    private Long noticeId;

    /**
     * 交易类型(JSAPI:公众号支付,NATIVE:扫码支付,APP:app支付,MICROPAY:付款码支付,MWEB:H5支付,FACEPAY:刷脸支付)
     */
    @ApiModelProperty(value = "交易类型(JSAPI:公众号支付,NATIVE:扫码支付,APP:app支付,MICROPAY:付款码支付,MWEB:H5支付,FACEPAY:刷脸支付)")
    @Column(comment = "交易类型(JSAPI:公众号支付,NATIVE:扫码支付,APP:app支付,MICROPAY:付款码支付,MWEB:H5支付,FACEPAY:刷脸支付)")
    private String tradeType;

    /**
     * 通知类型(1:商品支付,2:回收员充值)
     */
    @ApiModelProperty(value = "通知类型(1:商品支付,2:回收员充值)")
    @Column(comment = "通知类型(1:商品支付,2:回收员充值)")
    private Integer noticeType;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Column(comment = "创建时间", type = MySqlTypeConstant.DATETIME)
    private Date createTime;

    /**
     * 通知内容
     */
    @ApiModelProperty(value = "通知内容")
    @Column(comment = "通知内容")
    private String noticeContent;

    private static final long serialVersionUID = 1L;

}